// 事件转换
export default {
  AgentOther_InService: 'OnSignInSuccess', // 签入成功
  AgentOther_ShutdownService: 'OnSignOutSuccess', // 签出成功
  AgentState_SetWork_Success: [
    'OnCallStateWork', // 整理态
    'OnWorkSuccess', // 进入工作态
    'OnBusy', // 示忙
    'OnSayBusySuccess' // 示忙成功
  ], // 整理态
  AgentState_Ready: [
    'OnSayFreeSuccess',
    'OnForceIdle',
    'OnCancelWorkSuccess' // 退出工作态
  ], // 示闲
  AgentOther_PhoneRelease: [
    'OnPhoneRelease',
    'OnPhoneOffhook'
  ], // 物理话机挂机
  AgentMediaEvent_Record: [
    'OnRecordSuccess',
    'OnPlaySuccess'
  ], // 录音开始
  AgentMediaEvent_StopRecordDone: 'OnStopRecordSuccess', // 停止录音
  AgentEvent_Talking: [
    // 'OnCallRinging', // 来电提醒
    'OnCallTalking' // 进入Taking
  ],
  AgentEvent_Auto_Answer: [
    'OnAutoAnswer'
  ], // 自动应答
  AgentState_SetNotReady_Success: [
    'OnBusy', // 示忙
    'OnSayBusySuccess' // 示忙成功
  ],
  AgentState_Force_SetNotReady: [
    'OnBusy', // 示忙
    'OnSayBusySuccess' // 示忙成功
  ],
  AgentState_SetRest_Success: [ // 休息
    'OnBusy', // 示忙
    'OnSayBusySuccess' // 示忙成功
  ],
  AgentOther_PhoneAlerting: [
    'OnPhoneAlerting' // 坐席振铃

  ],
  AgentEvent_No_Answer: [
    'OnLongNoAnswer' // 久不应答

  ],
  AgentEvent_Call_Release: [
    'OnCallRelease' // 坐席退出呼叫
  ],
  AgentEvent_Customer_Release: [
    'OnCustomerRelease' // 客户退出呼叫
  ],
  playback_start: [
    'OnStartPlaySuccess'
  ],
  AgentEvent_Hold: [
    'OnHoldSuccess' // 保持
  ],
  AgentEvent_Call_Mute: [
    'OnBeginMute' // 静音
  ],
  AgentEvent_Call_End_Mute: [
    'OnEndMute' // 结束静音
  ],
  AgentEvent_Conference: [
    'OnCallConference'
  ],
  AgentEvent_Call_Out_Fail: [
    'OnCallOutFailure' // 外呼失败
  ],
  AgentEvent_Customer_Alerting: [
    'OnCustomerAlerting' // 对方振铃
  ]
}
